package com.kaili.common.util;

/**
 * Created by zs on 18-7-12.
 * 公共的静态长量
 */
public class CommonConstant {

    /**
     * druid密码私钥
     */
    public static final String DRUID_PRIVATE_KEY = "MIIBVQIBADANBgkqhkiG9w0BAQEFAASCAT8wggE7AgEAAkEArGOsirHANBEo4pbOJQRzhXfSQYUNnCI/GF+ad1dJlYacgILo4OiXK6RY2pRTQ0ZmgvMhCt6vv8zHzXhXo7LNJwIDAQABAkAGOedebwMRHlmKrYWugpWliWlXonWWYQpEWBedHdLzioTcb/IWM7Jqf6m990NRA7vbKAXgTW84BekREovP2y/BAiEA5DVmVlO+JDs0ptodR13Oa00BleaRWSzgSNIUyyXp34cCIQDBYg+lPv54wiNQDfvUKsoxMPtGGsA/z+iXwEVHOrrNYQIhAKkM9bZVarEkOqivQqkvUE4kSVxl5J4OpEbNeSHUAB/ZAiB8Z0kJVOz/YmS1K0nFw4EvBAOhpbPnWSiX9uiaWf2yAQIhAKMBAEVrC22cUyrFaozpFy+8z92d3CBiJnDO3HDQ7d9O";

    /**
     * druid密码公钥
     */
    public static final String DRUID_PUBLIC_KEY = "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJDU862hD23VirvvR16FBcWrsNUEuAu8/gV9/SPwd+pqD5Ii4dE5ipWnNHzZvUmfMkiEgIS/w8fJGnOqx1/VatkCAwEAAQ==";

    /**
     * druid密码解密回调方法
     */
    public static final String DRUID_PASSWORD_CALLBACK = "com.kaili.common.tenant.DbPasswordCallback";

    /**
     * mongodb中操作日志表前缀
     */
    public static final String OPERATE_LOG_DB = "t_operate_log";

    /**
     * mongodb系统日志
     */
    public static final String SYS_LOG_DB = "t_sys_log";

    /**
     * mongodb中系统登录日志
     */
    public static final String SYS_LOGIN_LOG_DB = "t_sys_login_log";

    /**
     * mongodb中设备登录日志
     */
    public static final String DERIVE_LOGIN_LOG_DB = "t_derive_login_log";

    /**
     * 主-读库
     */
    public static final String MAIN_DB_READ = "99999_read";

    /**
     * 主-写库
     */
    public static final String MAIN_DB_WRITE = "99999_write";

}
